import { type SlateLeafProps, type TCommentText } from "platejs";

import { SlateLeaf } from "platejs";

export function CommentLeafStatic(props: SlateLeafProps&lt;TCommentText&gt;) {
  return (
    &lt;SlateLeaf
      {...props}
      className="border-b-2 border-b-highlight/35 bg-highlight/15"
    &gt;
      {props.children}
    &lt;/SlateLeaf&gt;
  );
}
